#include "cpu/exec/helper.h"

#define DATA_BYTE 1
#include "jmp-template.h"
#undef DATA_BYTE

#define DATA_BYTE 4
#include "jmp-template.h"
#undef DATA_BYTE

make_helper(ljmp){
    cpu.eip = instr_fetch(eip+1,4);
    cpu.cs.selector = instr_fetch(eip + 5, 2);
    print_asm(str(ljmp));
    cpu.eip -= 7;
    return 7;
}